import { useSystemStore } from '@/stores'

export default (code, itemValue) => {
  const systemStore = useSystemStore()
  const valueList = systemStore.dictionary[code]
  for (let i = 0; i < valueList.length; i++) {
    if (valueList[i].code == itemValue) {
      return valueList[i].desc
    }
  }
}
